Feature: Create Post
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
4
|
|
||||
| Total duration: | |||||
| 1m 32.861s |
Scenario: As an administrator when I create and publish a post it should be visible from home page
Given
I log in as administrator
0m 5.218s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.299s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.254s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.079s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.111s
And
I click on element having css selector "div.gh-publishmenu"
0m 2.130s
And
I click on element having css selector "button.gh-publishmenu-button"
0m 2.078s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.254s
And
I navigate to home page
0m 2.475s
Then
I should see text "(Untitled)"
0m 0.012s
And
I should see text ""
0m 0.012s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I navigate to home page
Then I should see text "(Untitled)"
And I should see text ""
Scenario: As an administrator when I create and publish a post it should be visible from home page
Given
I log in as administrator
0m 5.241s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.365s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.254s
And
I enter "Test Post Kraken (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.200s
And
I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.113s
And
I click on element having css selector "div.gh-publishmenu"
0m 2.090s
And
I click on element having css selector "button.gh-publishmenu-button"
0m 2.078s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.243s
And
I navigate to home page
0m 2.200s
Then
I should see text "Test Post Kraken (No Content)"
0m 0.012s
And
I should see text ""
0m 0.013s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I navigate to home page
Then I should see text "Test Post Kraken (No Content)"
And I should see text ""
Scenario: As an administrator when I create and publish a post it should be visible from home page
Given
I log in as administrator
0m 5.361s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.375s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.233s
And
I enter "Test Post Kraken" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.143s
And
I enter "Hello World Kraken" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.254s
And
I click on element having css selector "div.gh-publishmenu"
0m 2.108s
And
I click on element having css selector "button.gh-publishmenu-button"
0m 2.078s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.232s
And
I navigate to home page
0m 2.232s
Then
I should see text "Test Post Kraken"
0m 0.012s
And
I should see text "Hello World Kraken"
0m 0.012s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I navigate to home page
Then I should see text "Test Post Kraken"
And I should see text "Hello World Kraken"
Scenario: As an administrator when I create and publish a post it should be visible from home page
Given
I log in as administrator
0m 5.281s
When
I click on element having css selector "a[href="#/posts/"]"
0m 2.321s
And
I click on element having css selector "a[href="#/editor/post/"]"
0m 2.266s
And
I enter "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
0m 2.640s
And
I enter "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
0m 2.937s
And
I click on element having css selector "div.gh-publishmenu"
0m 2.091s
And
I click on element having css selector "button.gh-publishmenu-button"
0m 2.078s
And
I click on element having css selector "header a[href^="#/posts/"]"
0m 2.244s
And
I navigate to home page
0m 2.209s
Then
I should see text "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
0m 0.012s
And
I should see text "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
0m 0.012s
Screenshots
Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I navigate to home page
Then I should see text "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
And I should see text "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"